package com.erp.system.domain;

import com.erp.framework.annotation.Excel;
import com.erp.framework.core.domain.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @TableName material
 */
public class Material extends BaseEntity {

    /**
     * 物料编码
     */
    @Excel(name = "物料编码")
    private String code;

    /**
     * 物料名称
     */
    @Excel(name = "物料名称")
    private String name;

    /**
     * 状态
     */
    private String status;

    /**
     * 物料类型
     */
    @Excel(name = "物料类型")
    private String type;

    /**
     * 备注
     */
    @Excel(name = "备注")
    private String remark;

    /**
     * 创建人
     */
    private String createBy;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 修改人
     */
    private String updateBy;

    /**
     * 修改时间
     */
    private Date updateTime;

    @Excel(name = "单位")
    private String unit;//   单位
    @Excel(name = "颜色")
    private String color;//   颜色
    @Excel(name = "启用批次管理")
    private String batch;//   启用批次管理
    @Excel(name = "安全库存总数量")
    private BigDecimal safeStock;//   安全库存总数量
    @Excel(name = "最大库存总量")
    private BigDecimal maxStock;//   最大库存总量
    @Excel(name = "重量")
    private BigDecimal weight;//   重量
    @Excel(name = "关联图纸")
    private String associatedDrawingId;//   关联图纸
    @Excel(name = "质检标记")
    private String quality;//   质检标记
    @Excel(name = "审批状态")
    private String auditStatus;//   审批状态

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table material
     */
    private static final long serialVersionUID = 1L;

    /**
     * 物料编码
     */
    public String getCode() {
        return code;
    }

    /**
     * 物料编码
     */
    public void setCode(String code) {
        this.code = code;
    }

    /**
     * 物料名称
     */
    public String getName() {
        return name;
    }

    /**
     * 物料名称
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 状态
     */
    public String getStatus() {
        return status;
    }

    /**
     * 状态
     */
    public void setStatus(String status) {
        this.status = status;
    }

    /**
     * 物料类型
     */
    public String getType() {
        return type;
    }

    /**
     * 物料类型
     */
    public void setType(String type) {
        this.type = type;
    }

    /**
     * 备注
     */
    public String getRemark() {
        return remark;
    }

    /**
     * 备注
     */
    public void setRemark(String remark) {
        this.remark = remark;
    }

    /**
     * 创建人
     */
    public String getCreateBy() {
        return createBy;
    }

    /**
     * 创建人
     */
    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    /**
     * 创建时间
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 创建时间
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 修改人
     */
    public String getUpdateBy() {
        return updateBy;
    }

    /**
     * 修改人
     */
    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    /**
     * 修改时间
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * 修改时间
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getBatch() {
        return batch;
    }

    public void setBatch(String batch) {
        this.batch = batch;
    }

    public BigDecimal getSafeStock() {
        return safeStock;
    }

    public void setSafeStock(BigDecimal safeStock) {
        this.safeStock = safeStock;
    }

    public BigDecimal getMaxStock() {
        return maxStock;
    }

    public void setMaxStock(BigDecimal maxStock) {
        this.maxStock = maxStock;
    }

    public BigDecimal getWeight() {
        return weight;
    }

    public void setWeight(BigDecimal weight) {
        this.weight = weight;
    }

    public String getAssociatedDrawingId() {
        return associatedDrawingId;
    }

    public void setAssociatedDrawingId(String associatedDrawingId) {
        this.associatedDrawingId = associatedDrawingId;
    }

    public String getQuality() {
        return quality;
    }

    public void setQuality(String quality) {
        this.quality = quality;
    }

    public String getAuditStatus() {
        return auditStatus;
    }

    public void setAuditStatus(String auditStatus) {
        this.auditStatus = auditStatus;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }
}